package com.gb.demand.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 对接南网，金蝶开票 。 需要的客户表 记录了客户的开发票信息
 * </p>
 *
 * @author shenzhiwen
 * @since 2020-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wemall_client")
@ApiModel(value="Client对象", description="对接南网，金蝶开票 。 需要的客户表 记录了客户的开发票信息")
public class Client extends Model<Client> implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("addTime")
    private Date addTime;

    @TableField("deleteStatus")
    private Integer deleteStatus;

    @ApiModelProperty(value = "地区码")
    private String areaCode;

    @ApiModelProperty(value = "单位名称--6-10日改成单位代码")
    private String unitname;

    @ApiModelProperty(value = "客户名称")
    private String clientname;

    @ApiModelProperty(value = "联系人")
    private String contacts;

    @ApiModelProperty(value = "联系人电话")
    private String contactsphone;

    @ApiModelProperty(value = "账号")
    private String accountNumber;

    @ApiModelProperty(value = "税号")
    private String dutyParagraph;

    @ApiModelProperty(value = "客户平台地区号代码")
    private String cpAreaCode;

    @ApiModelProperty(value = "客户所属店铺")
    private Long storeId;

    @ApiModelProperty(value = "开户行")
    private String openingBank;

    @ApiModelProperty(value = "开票地址")
    private String billingAddress;

    @ApiModelProperty(value = "寄件地址")
    private String mailingAddress;


}
